package com.gsafety.wellsfort.dao.course;

import com.gsafety.wellsfort.domain.dto.course.ExamPublishQueryDTO;
import com.gsafety.wellsfort.domain.dto.ids.ExamPublishIdDTO;
import com.gsafety.wellsfort.domain.model.course.ExamPublish;
import com.gsafety.wellsfort.domain.vo.ExamPublishVO;

import java.util.List;
import java.util.Map;

public interface ExamPublishDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(ExamPublish record);

    int insertSelective(ExamPublish record);

    ExamPublish selectByPrimaryKey(Integer id);

    ExamPublishVO selectByParamMap(Map<String, Object> paramMap);

    int deleteByParamMap(Map<String, Object> paramMap);

    List<ExamPublishVO> selectByParam(ExamPublishQueryDTO dtoParams);

    int cancelExamPublish(ExamPublishIdDTO dtoParams);

    int updateByPrimaryKeySelective(ExamPublish record);

    int updateByPrimaryKey(ExamPublish record);

    List<ExamPublish> selectByExamId(Integer examId);
}